c:\mysqldump.exe -h127.0.0.1 -ubat -pbat "times_voice_vote">db.sql

for /F "tokens=1-4 delims=/ " %%i in ('date /t') do set yyyymmdd=%%i%%j%%k
ren db.sql %yyyymmdd%.sql